package com.settlement.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.settlement.system.model.entity.SysAuditCheckIn;
import com.settlement.system.model.form.CheckInForm;
import com.settlement.system.model.vo.SysAuditCheckInVo;

import java.util.List;

/**
 * <p>
 * 核销登记表 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2023-08-30
 */
public interface SysAuditCheckInService extends IService<SysAuditCheckIn> {

    // 保存一份核销登记
    boolean saveCheckIn(CheckInForm checkInForm);

    // 负责人审核通过
    boolean confirm(CheckInForm checkInForm);

    // 负责人拒绝审核
    boolean reject(CheckInForm checkInForm);

    // 获取登记历史记录
    List<SysAuditCheckInVo> getHistory(String orderNo);
}
